<style>
    .ui-dialog .ui-dialog-button [i-id=cancel]{display: none}
   .html5upload-wrap .btn-group .btn-yellow{background-color: #fff;color: #333; border: 1px #ccc solid;margin-left:-3px;}
</style>
<!--导入-->
<div i="content" class="ui-dialog-content mt5 mb35" style="width:100px;height: 300px;">
    <table class="upload_section lh30" id="tableImportData">
        <tbody><tr>
            <td style="width: 45px; height: 45px;">上传:</td>
            <td style="width: 420px; height: 45px;">
                <!--上传文件 [[-->
                <div class="uploadFile" id="import_uploadFile">
                    <div id="uploadFile_wrap">
                        <div>
                            <label for="fileupload"></label>
                            <!--swfupload上传[[-->
                                <span class="swfupload-wrap" id="swfupload_wrap" style="width: 400px; display: none;">
                                    <span class="mini-buttonedit mini-htmlfile mini-fileupload mini-buttonedit-readOnly" id="fileupload" style="border-width: 0px; width: 100%;"><span class="mini-buttonedit-border"><input type="input" class="mini-buttonedit-input" autocomplete="off" placeholder="" readonly="" id="fileupload$text"><span class="mini-buttonedit-buttons"><span class="mini-buttonedit-close"></span><span class="mini-buttonedit-button" onmouseover="mini.addClass(this, 'mini-buttonedit-button-hover');" onmouseout="mini.removeClass(this, 'mini-buttonedit-button-hover');">浏览...</span></span><div id="mini-1$progressbar" class="mini-fileupload-progressbar"><div id="mini-1$complete" class="mini-fileupload-complete"></div></div></span><input name="" type="hidden" id="fileupload$value"><span id="mini-1$button_placeholder"></span></span>
                                </span>
                            <!--swfupload上传]]-->

                            <!--html5上传[[-->
                            <div class="html5upload-wrap" id="html5upload_wrap" style="position: relative; width: 400px; display: inline-block;">
                                <input type="file" id="html5upload_file" style="position: absolute; top: 0px; right: 0px; height: 29px; width: 62px; opacity: 0">
                                <input type="text" id="html5upload_file_txt" ng-model="filenameWarp" disabled style="width: 336px; height: 28px; background-color: #fff; border: 1px solid #ccc;border-right: none;">
                                <input type="button" id="html5upload_file_btn"  style="position: absolute; height: 29px; width: 62px; top: 0px; right: 0px;" href="javascript: void(0)"
                                       ui-uploader="" upload-btn-text="浏览..." url="/api/index.php?r=ydxs/s-room/import&proj_id={{data.proj_id}}"
                                       filename="filename" state="uploadState" upload-status-notify="uploadStatusNotify" uploader-model="uploadModel" extensions="xlsx,xls">
                            </div>
                            <!--html5上传]]-->
                        </div>
                    </div>
                </div>
                <!--上传文件 ]]-->
            </td>
            <td style="height: 45px;">
                <div class="btn-group" style="padding: 0;float:left;;display: inline-block;">
                    <a ng-click="uploadRoom()" href="javascript: void(0)" class="btn ng-binding" style="position: relative; z-index: 1;">导入</a>
                </div>
                <!--<div class="importpanel" style="float:left;">-->
                    <!--<a href="javascript: void(0)" class="btn" ng-click="">导入房间</a>-->
                <!--</div>-->



            </td>
        </tr>
        </tbody></table>
</div>